From 273295145a0d8ed8256c847cded959e8a4bb3f79 Mon Sep 17 00:00:00 2001 From: Zhenzhong Duan Date: Fri, 28 Oct 2011 17:20:21 +0100 Subject: [PATCH] x86,hvm: enable VCPUOP_register_vcpu_info op in hvm hypercall pvhvm running with more than 32 vcpus and pv_irq/pv_time enabled need vcpu placement to work, or else it will softlockup. Signed-off-by: Zhenzhong Duan Committed-by: Keir Fraser --- xen/arch/x86/hvm/hvm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index ab7763b4ba..8c0f744461 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -2794,6 +2794,7 @@ static long hvm_vcpu_op( case VCPUOP_stop_periodic_timer: case VCPUOP_set_singleshot_timer: case VCPUOP_stop_singleshot_timer: + case VCPUOP_register_vcpu_info: rc = do_vcpu_op(cmd, vcpuid, arg); break; default: @@ -2869,6 +2870,7 @@ static long hvm_vcpu_op_compat32( case VCPUOP_stop_periodic_timer: case VCPUOP_set_singleshot_timer: case VCPUOP_stop_singleshot_timer: + case VCPUOP_register_vcpu_info: rc = compat_vcpu_op(cmd, vcpuid, arg); break; default: -- 2.30.2